package com.huangsm.book.designmodel.parallel.pcmodel;


import lombok.Getter;
import lombok.ToString;

/**
 * PCData作为生产者和消费者之间的共享数据模型
 * @author huang
 * @date 2019/2/19
 */
@Getter
@ToString
public class PCData {
    private final int intData;

    public PCData(int d) {
        intData = d;
    }
    public PCData(String d){
      intData=Integer.valueOf(d);
    }

}
